﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.Lib.Family
{
    class Parent : Grandparent
    {
        public Parent()
        {
            this.Name = "Sbm";
            this.Age = 45;
        }
        protected new int Money = 2000;
        public override int GetOwnMoney()
        {
            return base.Money+Money;
        }
        new public string GetInfo()
        {
            return "{" + Name + "：" + Age + "}";
        }
    }
}
